<%@ Page Language="C#" Debug="true" %>
<%@ Import namespace="System.Net" %>
<%@ Import namespace="System.Collections.Generic" %>
<%@ Import namespace="Utils" %>
<%
string username = Request.Form["username"];
string password = Request.Form["password"];

string token = ServiceUtil.getUserAccessToken(username, password);

Response.ContentType = "application/json";
Response.Write("{\"username\":\""+username+"\",\"access_token\":\""+token+"\"}");
%>